/**************************************************************************
 *         Copyright(c) 2007 by Sunplus mMedia  Technology Co., Ltd.       *
 *                                                                         *
 *  This software is copyrighted by and is the property of Sunplus mMedia  *
 *  Technology Co., Ltd. All rights are reserved by Sunplus mMedia Techno- *
 *  logy Co., Ltd. This software may only be used in accordance with the   *
 *  corresponding license agreement. Any unauthorized use, duplication,    *
 *  distribution, or disclosure of this software is expressly forbidden.   *
 *                                                                         *
 *  This Copyright notice "M U S T" not be removed or modified without     *
 *  prior written consent of Sunplus mMedia Technology  Co., Ltd.          *
 *                                                                         *
 *  Sunplus mMedia Technology Co., Ltd. reserves the right to modify this  *
 *  software without notice.                                               *
 *                                                                         *
 *  Sunplus mMedia Technology Co., Ltd.                                    *
 *  19-1, Innovation First Road, Science-Based Industrial Park,            *
 *  Hsin-Chu, Taiwan, R.O.C.                                               *
 *                                                                         *
 **************************************************************************/
#ifndef __PB_DEBUG_H__
#define __PB_DEBUG_H__

//=============================================================================
//Header file
//=============================================================================
#include "file_list.h"
//=============================================================================
//Symbol
//=============================================================================
//------------------------------------------------------------------------------
//Constant
//------------------------------------------------------------------------------

/*
    Debug level define
    
0: Disable all debug information
1: dbgPrintf enabled
2: dbgPrintf / printf enabled
3: dbgPrintf / printf / func track enabled
*/

#define DBG_Level		1

#if (DBG_Level == 0)
#define DBG_pbFuncTrack()
//#define printf(a)
#define dbgPrintf(StringID)	if
#elif (DBG_Level == 1)
#define DBG_pbFuncTrack()
//#define printf(a)
//#define dbgPrintf(StringID)
#elif (DBG_Level == 2)
#define DBG_pbFuncTrack()	
//#define printf(a)
//#define dbgPrintf(StringID)
#elif (DBG_Level == 3)
#define DBG_pbFuncTrack()	dbgFuncTrack(__FILE_ID_LIB_PB__, (unsigned short)__LINE__)
//#define printf(a)
//#define dbgPrintf(StringID)
#endif

#endif /*__PB_DEBUG_H__*/




